package com.ruoyi.project.system.orderhead.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 orderhead
 * 
 * @author ruoyi
 * @date 2021-03-28
 */
public class Orderhead extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer idorderHead;

    /** 关联客户 */

    private Long clientIDorderHead;
    @Excel(name = "客户名称")
    private String clientName;

    @Excel(name = "联系电话")
    private String phoneOne;

    @Excel(name = "紧急电话")
    private String phoneTwo;


    @Excel(name = "所在镇区")
    private String town;

    @Excel(name = "所在市")
    private String city;

    @Excel(name = "详细地址")
    private String address;

    /** 下单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateOrderHead;

    /** 交货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentDateOrderHead;

    /** 订金 */
    @Excel(name = "订金")
    private Integer depositOrderHead;

    @Excel(name = "订单总价")
    private String allMoney;

    @Excel(name = "下单人")
    private String uName;


    /** 订单状态(已取消,已完成,未做,准备出货) */
    @Excel(name = "订单状态" , readConverterExp = "1=已取消,2=已完成,3=未做,0=准备出货")
    private Long stateOrderHead;

    /** $column.columnComment */
    private Integer typeNumOrderHead;


    /** 创建订单用户名 */
    private Long createStaffIDOrderHead;

    /** $column.columnComment */
    private Long alterStaffIDOrderHead;

    /** 备注 */
    @Excel(name = "备注")
    private String commentOrderHead;

    private Long regionClient;

    private Integer cId;

    private Integer tId;

    //每日订单总数
    private Integer countOrder;

    private Integer[] productIDOrder;

    private Integer[] price;

    private Integer[] countOrders;

    private Date addStime;

    private Date addEtime;

    private Date appStime;

    private Date appEtime;

    public Date getAddStime() {
        return addStime;
    }

    public void setAddStime(Date addStime) {
        this.addStime = addStime;
    }

    public Date getAddEtime() {
        return addEtime;
    }

    public void setAddEtime(Date addEtime) {
        this.addEtime = addEtime;
    }

    public Date getAppStime() {
        return appStime;
    }

    public void setAppStime(Date appStime) {
        this.appStime = appStime;
    }

    public Date getAppEtime() {
        return appEtime;
    }

    public void setAppEtime(Date appEtime) {
        this.appEtime = appEtime;
    }

    public Integer[] getProductIDOrder() {
        return productIDOrder;
    }

    public void setProductIDOrder(Integer[] productIDOrder) {
        this.productIDOrder = productIDOrder;
    }

    public Integer[] getPrice() {
        return price;
    }

    public void setPrice(Integer[] price) {
        this.price = price;
    }

    public Integer[] getCountOrders() {
        return countOrders;
    }

    public void setCountOrders(Integer[] countOrders) {
        this.countOrders = countOrders;
    }

    public Integer getCountOrder() {
        return countOrder;
    }

    public void setCountOrder(Integer countOrder) {
        this.countOrder = countOrder;
    }

    public String getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(String allMoney) {
        this.allMoney = allMoney;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getIdorderHead() {
        return idorderHead;
    }

    public void setIdorderHead(Integer idorderHead) {
        this.idorderHead = idorderHead;
    }

    public Long getClientIDorderHead() {
        return clientIDorderHead;
    }

    public void setClientIDorderHead(Long clientIDorderHead) {
        this.clientIDorderHead = clientIDorderHead;
    }

    public Integer getDepositOrderHead() {
        return depositOrderHead;
    }

    public void setDepositOrderHead(Integer depositOrderHead) {
        this.depositOrderHead = depositOrderHead;
    }

    public Date getDateOrderHead() {
        return dateOrderHead;
    }

    public void setDateOrderHead(Date dateOrderHead) {
        this.dateOrderHead = dateOrderHead;
    }

    public Long getStateOrderHead() {
        return stateOrderHead;
    }

    public void setStateOrderHead(Long stateOrderHead) {
        this.stateOrderHead = stateOrderHead;
    }

    public Integer getTypeNumOrderHead() {
        return typeNumOrderHead;
    }

    public void setTypeNumOrderHead(Integer typeNumOrderHead) {
        this.typeNumOrderHead = typeNumOrderHead;
    }

    public Date getAppointmentDateOrderHead() {
        return appointmentDateOrderHead;
    }

    public void setAppointmentDateOrderHead(Date appointmentDateOrderHead) {
        this.appointmentDateOrderHead = appointmentDateOrderHead;
    }

    public Long getCreateStaffIDOrderHead() {
        return createStaffIDOrderHead;
    }

    public void setCreateStaffIDOrderHead(Long createStaffIDOrderHead) {
        this.createStaffIDOrderHead = createStaffIDOrderHead;
    }

    public Long getAlterStaffIDOrderHead() {
        return alterStaffIDOrderHead;
    }

    public void setAlterStaffIDOrderHead(Long alterStaffIDOrderHead) {
        this.alterStaffIDOrderHead = alterStaffIDOrderHead;
    }

    public String getCommentOrderHead() {
        return commentOrderHead;
    }

    public void setCommentOrderHead(String commentOrderHead) {
        this.commentOrderHead = commentOrderHead;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getPhoneOne() {
        return phoneOne;
    }

    public void setPhoneOne(String phoneOne) {
        this.phoneOne = phoneOne;
    }

    public String getPhoneTwo() {
        return phoneTwo;
    }

    public void setPhoneTwo(String phoneTwo) {
        this.phoneTwo = phoneTwo;
    }

    public Long getRegionClient() {
        return regionClient;
    }

    public void setRegionClient(Long regionClient) {
        this.regionClient = regionClient;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "Orderhead{" +
                "idorderHead=" + idorderHead +
                ", clientIDorderHead=" + clientIDorderHead +
                ", depositOrderHead=" + depositOrderHead +
                ", dateOrderHead=" + dateOrderHead +
                ", stateOrderHead=" + stateOrderHead +
                ", typeNumOrderHead=" + typeNumOrderHead +
                ", appointmentDateOrderHead=" + appointmentDateOrderHead +
                ", createStaffIDOrderHead=" + createStaffIDOrderHead +
                ", alterStaffIDOrderHead=" + alterStaffIDOrderHead +
                ", commentOrderHead='" + commentOrderHead + '\'' +
                ", clientName='" + clientName + '\'' +
                ", phoneOne='" + phoneOne + '\'' +
                ", phoneTwo='" + phoneTwo + '\'' +
                ", regionClient=" + regionClient +
                ", address='" + address + '\'' +
                ", town='" + town + '\'' +
                ", city='" + city + '\'' +
                '}';
    }
}
